package com.avengers.common.bean;

/**
 * @author zhangnan
 * @since 2021/10/8 4:00 下午
 **/
public class QueueInfo {
    private Integer type;
    private Long id;

    public QueueInfo(Integer id) {
        this(id.longValue());
    }

    public QueueInfo(Long id) {
        this.id = id;
    }

    public QueueInfo(Integer type, Integer id) {
        this(type, id.longValue());
    }

    public QueueInfo(Integer type, Long id) {
        this.type = type;
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}